[INFO] cloning repository https://github.com/Yoriyoi-drop/nex2426
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Yoriyoi-drop/nex2426" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoriyoi-drop%2Fnex2426", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoriyoi-drop%2Fnex2426'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 688ad9fc2ba497c3aad5e5b1449dae6d1ec8af09
[INFO] fixing Yoriyoi-drop/nex2426 against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FYoriyoi-drop%2Fnex2426" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Yoriyoi-drop/nex2426
[INFO] finished tweaking git repo https://github.com/Yoriyoi-drop/nex2426
[INFO] tweaked toml for git repo https://github.com/Yoriyoi-drop/nex2426 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Yoriyoi-drop/nex2426 on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Yoriyoi-drop/nex2426 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded cc v1.2.52
[INFO] [stderr]   Downloaded zmij v1.0.17
[INFO] [stderr]   Downloaded find-msvc-tools v0.1.7
[INFO] [stderr]   Downloaded zerocopy-derive v0.8.35
[INFO] [stderr]   Downloaded zerocopy v0.8.35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 2a59bd7e9b49d299b3965a9f6ca3692ea266f5e1f071b89f998797f5b5e2735f
[INFO] running `Command { std: "docker" "start" "2a59bd7e9b49d299b3965a9f6ca3692ea266f5e1f071b89f998797f5b5e2735f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a59bd7e9b49d299b3965a9f6ca3692ea266f5e1f071b89f998797f5b5e2735f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a59bd7e9b49d299b3965a9f6ca3692ea266f5e1f071b89f998797f5b5e2735f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "2a59bd7e9b49d299b3965a9f6ca3692ea266f5e1f071b89f998797f5b5e2735f" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling zerocopy v0.8.35
[INFO] [stderr]    Compiling zmij v1.0.17
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]    Compiling rustix v1.1.3
[INFO] [stderr]     Checking generic-array v0.14.7
[INFO] [stderr]     Checking getrandom v0.2.17
[INFO] [stderr]    Compiling find-msvc-tools v0.1.7
[INFO] [stderr]     Checking errno v0.3.14
[INFO] [stderr]     Checking clap_builder v4.6.0
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]     Checking plotters v0.3.7
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]     Checking socket2 v0.6.2
[INFO] [stderr]     Checking is-terminal v0.4.17
[INFO] [stderr]     Checking mio v1.1.1
[INFO] [stderr]     Checking ryu v1.0.22
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking signal-hook-registry v1.4.8
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]     Checking num_cpus v1.17.0
[INFO] [stderr]    Compiling cc v1.2.52
[INFO] [stderr]    Compiling quote v1.0.44
[INFO] [stderr]     Checking serde_json v1.0.149
[INFO] [stderr]    Compiling syn v2.0.114
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking sha2 v0.10.9
[INFO] [stderr]    Compiling nex2426 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stderr]     Checking clap v4.6.1
[INFO] [stderr]     Checking tempfile v3.24.0
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling zerocopy-derive v0.8.35
[INFO] [stderr]    Compiling tokio-macros v2.6.0
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]     Checking tokio v1.49.0
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking serde v1.0.228
[INFO] [stderr]     Checking serde_spanned v0.6.9
[INFO] [stderr]     Checking toml_datetime v0.6.11
[INFO] [stderr]     Checking tinytemplate v1.2.1
[INFO] [stderr]     Checking chrono v0.4.43
[INFO] [stderr]     Checking serde_yaml v0.9.34+deprecated
[INFO] [stderr]     Checking toml_edit v0.22.27
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.21
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking ciborium-ll v0.2.2
[INFO] [stderr]     Checking ciborium v0.2.2
[INFO] [stderr]     Checking toml v0.8.23
[INFO] [stderr]     Checking criterion v0.5.1
[INFO] [stdout] error: argument never used
[INFO] [stdout]    --> src/error.rs:177:66
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let value = ensure!(true, validation, "should not fail", 42);
[INFO] [stdout]     |                                               -----------------  ^^ argument never used
[INFO] [stdout]     |                                               |
[INFO] [stdout]     |                                               formatting specifier missing
[INFO] [stdout]     |
[INFO] [stdout] help: format specifiers use curly braces, consider adding a format specifier
[INFO] [stdout]     |
[INFO] [stdout] 177 |         let value = ensure!(true, validation, "should not fail{}", 42);
[INFO] [stdout]     |                                                               ++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/kernel.rs:408:34
[INFO] [stdout]     |
[INFO] [stdout] 408 |             hash_base58: base64::encode(result),
[INFO] [stdout]     |                                  ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/kernel.rs:495:34
[INFO] [stdout]     |
[INFO] [stdout] 495 |             hash_base58: base64::encode(result),
[INFO] [stdout]     |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/kernel.rs:408:34
[INFO] [stdout]     |
[INFO] [stdout] 408 |             hash_base58: base64::encode(result),
[INFO] [stdout]     |                                  ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated function `base64::encode`: Use Engine::encode
[INFO] [stdout]    --> src/kernel.rs:495:34
[INFO] [stdout]     |
[INFO] [stdout] 495 |             hash_base58: base64::encode(result),
[INFO] [stdout]     |                                  ^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/error.rs:154:20
[INFO] [stdout]     |
[INFO] [stdout] 154 |             return Err($crate::nex_err!($error_type, format!($msg, $($arg)*)))
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `()`, found `Result<_, NexError>`
[INFO] [stdout] ...
[INFO] [stdout] 173 |     fn test_error_macros() {
[INFO] [stdout]     |                           - help: a return type might be missing here: `-> _`
[INFO] [stdout] ...
[INFO] [stdout] 177 |         let value = ensure!(true, validation, "should not fail", 42);
[INFO] [stdout]     |                     ------------------------------------------------ in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: expected unit type `()`
[INFO] [stdout]                     found enum `Result<_, error::NexError>`
[INFO] [stdout]     = note: this error originates in the macro `ensure` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> src/error.rs:178:27
[INFO] [stdout]     |
[INFO] [stdout] 178 |         assert_eq!(value, 42);
[INFO] [stdout]     |                           ^^ expected `()`, found integer
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/validation.rs:161:65
[INFO] [stdout]     |
[INFO] [stdout] 161 |         $crate::validation::validate_key_material($input, $name)?
[INFO] [stdout]     |                                                                 ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...
[INFO] [stdout] 200 |     fn test_validate_macro() {
[INFO] [stdout]     |     ------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] 201 |         let key = b"test key";
[INFO] [stdout] 202 |         assert!(validate_input!(key, "key", key).is_ok());
[INFO] [stdout]     |                 -------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `validate_input` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 200 ~     fn test_validate_macro() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 201 |         let key = b"test key";
[INFO] [stdout] ...
[INFO] [stdout] 205 |         assert!(validate_input!(cost, "cost", cost).is_ok());
[INFO] [stdout] 206 ~         Ok(())
[INFO] [stdout] 207 ~     }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope
[INFO] [stdout]    --> src/validation.rs:202:50
[INFO] [stdout]     |
[INFO] [stdout] 202 |         assert!(validate_input!(key, "key", key).is_ok());
[INFO] [stdout]     |                                                  ^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 2 arguments were supplied
[INFO] [stdout]    --> src/validation.rs:167:9
[INFO] [stdout]     |
[INFO] [stdout] 167 |         $crate::validation::validate_cost($input, $name)?
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 205 |         assert!(validate_input!(cost, "cost", cost).is_ok());
[INFO] [stdout]     |                 -----------------------------------
[INFO] [stdout]     |                 |                     |
[INFO] [stdout]     |                 |                     unexpected argument #2 of type `&'static str`
[INFO] [stdout]     |                 in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout] note: function defined here
[INFO] [stdout]    --> src/validation.rs:119:8
[INFO] [stdout]     |
[INFO] [stdout] 119 | pub fn validate_cost(cost: u32) -> NexResult<()> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^
[INFO] [stdout]     = note: this error originates in the macro `validate_input` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `FromResidual`)
[INFO] [stdout]    --> src/validation.rs:167:57
[INFO] [stdout]     |
[INFO] [stdout] 167 |         $crate::validation::validate_cost($input, $name)?
[INFO] [stdout]     |                                                         ^ cannot use the `?` operator in a function that returns `()`
[INFO] [stdout] ...
[INFO] [stdout] 200 |     fn test_validate_macro() {
[INFO] [stdout]     |     ------------------------ this function should return `Result` or `Option` to accept `?`
[INFO] [stdout] ...
[INFO] [stdout] 205 |         assert!(validate_input!(cost, "cost", cost).is_ok());
[INFO] [stdout]     |                 ----------------------------------- in this macro invocation
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `validate_input` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] help: consider adding return type
[INFO] [stdout]     |
[INFO] [stdout] 200 ~     fn test_validate_macro() -> Result<(), Box<dyn std::error::Error>> {
[INFO] [stdout] 201 |         let key = b"test key";
[INFO] [stdout] ...
[INFO] [stdout] 205 |         assert!(validate_input!(cost, "cost", cost).is_ok());
[INFO] [stdout] 206 ~         Ok(())
[INFO] [stdout] 207 ~     }
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `is_ok` found for unit type `()` in the current scope
[INFO] [stdout]    --> src/validation.rs:205:53
[INFO] [stdout]     |
[INFO] [stdout] 205 |         assert!(validate_input!(cost, "cost", cost).is_ok());
[INFO] [stdout]     |                                                     ^^^^^ method not found in `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0614]: type `u8` cannot be dereferenced
[INFO] [stdout]    --> src/memory_opt.rs:322:41
[INFO] [stdout]     |
[INFO] [stdout] 322 |         assert!(!result.iter().all(|&x| *x == 0));
[INFO] [stdout]     |                                         ^^ can't be dereferenced
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0277, E0308, E0599, E0614.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `nex2426` (lib test) due to 9 previous errors; 2 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] running `Command { std: "docker" "inspect" "2a59bd7e9b49d299b3965a9f6ca3692ea266f5e1f071b89f998797f5b5e2735f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a59bd7e9b49d299b3965a9f6ca3692ea266f5e1f071b89f998797f5b5e2735f", kill_on_drop: false }`
[INFO] [stdout] 2a59bd7e9b49d299b3965a9f6ca3692ea266f5e1f071b89f998797f5b5e2735f
